def common_assert(response,status_code=200,success=True,code=10000,message="成功"):
    assert response.status_code == status_code
    assert response.json().get("success") is success
    assert response.json().get("code") == code
    assert message in response.text